home *** CD-ROM | disk | FTP | other *** search
/ Acorn Risc Technologies StrongARM CD-ROM / Acorn Risc Technologies StrongARM CD-ROM.iso / ftp / documents / appnotes / 031_045 / 039c / Text
Encoding:
Text File  |  1993-08-02  |  2.4 KB  |  66 lines

  1. 4th August 1992
  2. -----------------------------------------------------------------------------
  3. Support Group Application Note 
  4. Number: 039
  5. Issue: 1 
  6. Author:
  7. -----------------------------------------------------------------------------
  8.  
  9. Changing the RS423 Data Format
  10.  
  11. -----------------------------------------------------------------------------
  12. Applicable Hardware:    BBC B
  13.                         BBC B+
  14.                         Master 128
  15.                         Master 512
  16.                         Master Turbo
  17.                         Master Compact (if RS423 fitted)
  18.  
  19. Related Application Notes:
  20.  
  21.  
  22. -----------------------------------------------------------------------------
  23. Copyright (C) Acorn Computers Limited 1992
  24.  
  25. Every effort has been made to ensure that the information in this leaflet is 
  26. true and correct at the time of printing. However, the products described in
  27. this leaflet are subject to continuous development and improvements and
  28. Acorn Computers Limited reserves the right to change its specifications at
  29. any time. Acorn Computers Limited cannot accept liability for any loss or
  30. damage arising from the use of any information or particulars in this
  31. leaflet. ACORN, ECONET and ARCHIMEDES are trademarks of Acorn Computers
  32. Limited.
  33. -----------------------------------------------------------------------------
  34. Support Group
  35. Acorn Computers Limited
  36. Acorn House
  37. Vision Park
  38. Histon
  39. Cambridge       CB4 4AE
  40. -----------------------------------------------------------------------------
  41.  
  42.  
  43. The format can be altered to any of those shown below, by means of the
  44. FX/OSBYTE call with A=&9C (156) and X=appropriate value.
  45.  
  46. In order not to alter other parameters of the 6850 ACIA chip, a mask is
  47. supplied with the call specifying which bits are to be altered.  This mask
  48. MUST be &E3 (227).  The following data byte is then supplied to set the
  49. format.
  50.  
  51.         VALUE           FORMAT
  52.          0              7 Bits + Even Parity + 2 Stop Bits
  53.          4              7 Bits + Odd Parity + 2 Stop Bits
  54.          8              7 Bits + Even Parity + 1 Stop Bit
  55.         12              7 Bits + Odd Parity + 1 Stop Bit
  56.         16              8 Bits + 2 Stop Bits
  57.         20              8 Bits + 1 Stop Bit
  58.         24              8 Bits + Even Parity + 1 Stop Bit
  59.         28              8 Bits + Odd Parity + 1 Stop Bit
  60.  
  61.  
  62. The call is made either by:
  63.  
  64.         *FX 156, VALUE (from above), 227
  65.  
  66. or by calling OSBYTE (JSR &FFF4) with A=156, X=VALUE (as above), Y=227.